package practicedemo14;

import java.util.Scanner;

public class practicedemo14 {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int a = x / 100;
        int b = x % 10;
        if (a==b){
            System.out.println(true);
        } else {
            System.out.println(false);
        }
    }
}
